package com.ftg.learn.springboot.product.service;

import com.ftg.learn.springboot.product.mapper.ProductMapper;
import com.ftg.learn.springboot.product.pojo.product;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ProductService {

	@Autowired
	ProductMapper pm;

	public List<product> showAll(String bid) {
		return pm.showAll(bid);
	}
}
